using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("StorePurchaseAuth")]
	public class StorePurchaseAuth : UIBPopup
	{
		public static string s_OkButtonText => MonoClass.smethod_8(TritonHs.MainAssemblyPath, "", "StorePurchaseAuth", "s_OkButtonText");

		public static string s_BackButtonText => MonoClass.smethod_8(TritonHs.MainAssemblyPath, "", "StorePurchaseAuth", "s_BackButtonText");

		public MultiSliceElement m_root => method_3<MultiSliceElement>("m_root");

		public Spell m_spell => method_3<Spell>("m_spell");

		public UIBButton m_okButton => method_3<UIBButton>("m_okButton");

		public UberText m_waitingForAuthText => method_3<UberText>("m_waitingForAuthText");

		public UberText m_successHeadlineText => method_3<UberText>("m_successHeadlineText");

		public UberText m_failHeadlineText => method_3<UberText>("m_failHeadlineText");

		public UberText m_failDetailsText => method_3<UberText>("m_failDetailsText");

		public StoreMiniSummary m_miniSummary => method_3<StoreMiniSummary>("m_miniSummary");

		public bool m_isBackButton => method_2<bool>("m_isBackButton");

		public bool m_showingSuccess => method_2<bool>("m_showingSuccess");

		public MoneyOrGTAPPTransaction m_moneyOrGTAPPTransaction => method_3<MoneyOrGTAPPTransaction>("m_moneyOrGTAPPTransaction");

		public StorePurchaseAuth(IntPtr address, string className)
			: base(address, className)
		{
		}

		public StorePurchaseAuth(IntPtr address)
			: this(address, "StorePurchaseAuth")
		{
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void Show(MoneyOrGTAPPTransaction moneyOrGTAPPTransaction, bool enableBackButton, bool isZeroCostLicense)
		{
			method_8("Show", moneyOrGTAPPTransaction, enableBackButton, isZeroCostLicense);
		}

		public new void Hide()
		{
			method_8("Hide");
		}

		public bool CompletePurchaseSuccess(MoneyOrGTAPPTransaction moneyOrGTAPPTransaction)
		{
			return method_11<bool>("CompletePurchaseSuccess", new object[1] { moneyOrGTAPPTransaction });
		}

		public bool CompletePurchaseFailure(MoneyOrGTAPPTransaction moneyOrGTAPPTransaction, string failDetails, Network.PurchaseErrorInfo.ErrorType error)
		{
			return method_11<bool>("CompletePurchaseFailure", new object[3] { moneyOrGTAPPTransaction, failDetails, error });
		}

		public void ShowPreviousPurchaseSuccess(MoneyOrGTAPPTransaction moneyOrGTAPPTransaction, bool enableBackButton)
		{
			method_8("ShowPreviousPurchaseSuccess", moneyOrGTAPPTransaction, enableBackButton);
		}

		public void ShowPreviousPurchaseFailure(MoneyOrGTAPPTransaction moneyOrGTAPPTransaction, string failDetails, bool enableBackButton, Network.PurchaseErrorInfo.ErrorType error)
		{
			method_8("ShowPreviousPurchaseFailure", moneyOrGTAPPTransaction, failDetails, enableBackButton, error);
		}

		public void ShowPurchaseMethodFailure(MoneyOrGTAPPTransaction moneyOrGTAPPTransaction, string failDetails, bool enableBackButton, Network.PurchaseErrorInfo.ErrorType error)
		{
			method_8("ShowPurchaseMethodFailure", moneyOrGTAPPTransaction, failDetails, enableBackButton, error);
		}

		public void OnOkayButtonPressed(UIEvent e)
		{
			method_8("OnOkayButtonPressed", e);
		}

		public void OnOkayButtonPressed_Finish()
		{
			method_8("OnOkayButtonPressed_Finish");
		}

		public void ShowPurchaseSuccess(MoneyOrGTAPPTransaction moneyOrGTAPPTransaction, bool showMiniSummary)
		{
			method_8("ShowPurchaseSuccess", moneyOrGTAPPTransaction, showMiniSummary);
		}

		public void ShowPurchaseFailure(MoneyOrGTAPPTransaction moneyOrGTAPPTransaction, string failDetails, bool showMiniSummary, Network.PurchaseErrorInfo.ErrorType error)
		{
			method_8("ShowPurchaseFailure", moneyOrGTAPPTransaction, failDetails, showMiniSummary, error);
		}

		public void ShowMiniSummary()
		{
			method_8("ShowMiniSummary");
		}
	}
}
